package com.adinnet.admin.school.mapper;

import com.adinnet.admin.school.model.School;
import com.adinnet.admin.school.model.vo.SchoolResp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 校区 Mapper 接口
 * </p>
 *
 * @author liukp
 * @since 2020-12-05
 */
public interface SchoolMapper extends BaseMapper<School> {

    List<SchoolResp> schoolList(Page<SchoolResp> objectPage, @Param("keyword") String keyword);
}
